//
//  CusNaviView.m
//  XhlTrip
//
//  Created by dllo on 15/8/21.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "CusNaviView.h"

@implementation CusNaviView
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 100 * Width, 35 * Height)];
        self.titleLabel.text = @"XhlTrip";
        self.titleLabel.font = [UIFont fontWithName:@"Verdana-Italic" size:22 * Width];

        self.titleLabel.textAlignment = NSTextAlignmentCenter;
        self.titleLabel.textColor = [UIColor whiteColor];
        [self addSubview:_titleLabel];
        [_titleLabel release];
        
    }
    return self;
}

- (void)dealloc
{
  
    [_titleLabel release];
    [super dealloc];
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
